package com.itheima.pinda.entity.transportline;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itheima.pinda.entity.base.SuperEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 车次与车辆和司机关联表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "pd_transport_trips_truck_driver")
public class PdTransportTripsTruckDriver extends SuperEntity implements Serializable {
    /**
     * 车辆id
     */
    @TableField(value = "truck_id")
    private String truckId;

    /**
     * 车次id
     */
    @TableField(value = "transport_trips_id")
    private String transportTripsId;

    /**
     * 司机id
     */
    @TableField(value = "user_id")
    private String userId;
}